
#ifndef DESIGN_PATTERNS_STRATEGY_DISCOUNDSTRATEGY_H
#define DESIGN_PATTERNS_STRATEGY_DISCOUNDSTRATEGY_H

/**
 * 角色：抽象策略类
 */
class DiscountStrategy
{
public:
  virtual double DoDiscount(double original_price) = 0;

  virtual ~DiscountStrategy() = default;
};

#endif //DESIGN_PATTERNS_STRATEGY_DISCOUNDSTRATEGY_H
